package com.example.ktdemo.httputils

import okhttp3.Interceptor
import okhttp3.Request
import okhttp3.Response

class AddCookiesInterceptor : Interceptor {
    override fun intercept(chain: Interceptor.Chain): Response {
        var builder: Request.Builder = chain.request().newBuilder();
        builder.addHeader("Cookie", "ASP.NET_SessionId=0sphx5umrzqbt2xx2skzi2w5")
        return chain.proceed(builder.build())
    }
}